package com.kgc.ebook.ebookmanager.service;

import com.github.pagehelper.PageInfo;
import com.kgc.ebook.ebookmanager.pojo.Ebookentry;
import org.omg.CORBA.INTERNAL;

import java.util.List;

public interface EbookentrySrevice {
    /*查询分页*/
    public PageInfo<Ebookentry> select(Integer pageNum,Integer pageSize,Integer categoryId);
    //新增图书
    public  Integer add(Ebookentry entry);
    /**/
    public Ebookentry selectByid(Integer id);
    /**/
    public  Integer  update(Ebookentry entry);
    /**/
    public Integer delete(Integer id);
}
